package com.gyx.lottery.common.errorcode;
public interface ServiceErrorCodeConstants {

    //************人员错误码
    ErrorCode REGISTER_PARAM_IS_EMPTY =new ErrorCode(100,"注册信息为空") ;
    ErrorCode  EMAIL_ILLEGAL = new ErrorCode(101,"邮箱非法");
    ErrorCode PHONE_NUMBER_ILLEGAL = new ErrorCode(102,"电话号码非法");
    ErrorCode IDENTITY_ERROR =new ErrorCode(103,"身份标识错误") ;
    ErrorCode PASSWORD_EMPITY = new ErrorCode(104,"管理员密码为空");
    ErrorCode PASSWORD_ERROR = new ErrorCode(105,"密码非法");
    ErrorCode REGISTER_MAIL_USED = new ErrorCode(106,"注册邮箱已被使用");
    ErrorCode PHONE_NUMBER_USED = new ErrorCode(107,"电话号码已被使用");
    ErrorCode LOGIN_INFO_NOT_EXIST =new ErrorCode(108,"登录信息不存在");
    ErrorCode USER_INFO_EMPTY = new ErrorCode(109,"人员信息不存在");
    ErrorCode VERIFICATIONCODE_ERROR = new ErrorCode(110,"验证码错误");
    ErrorCode LOGIN_STYLE_NOT_EXIST = new ErrorCode(111,"登陆方式不存在");



    //************奖品错误码200
    ErrorCode PRIZE_EXESIST_ERROR = new ErrorCode(200,"奖品不存在");

    //************活动错误码300
    ErrorCode ACTICITY_INFO_EMPTY =new ErrorCode(300,"活动参数异常")  ;
    ErrorCode PRIZE_IDS_NOT_EXESIST = new ErrorCode(301,"参与活动的奖品Id不存在")  ;
    ErrorCode USER_IDS_NOT_EXESIST =  new ErrorCode(302,"参与活动的用户Id不存在") ;
    ErrorCode ACTIVITY_PEIZE_USER_ERROR = new ErrorCode(303,"参与活动与人员数量异常")  ;
    ErrorCode ACTIVITY_PRIZE_TIERS_ERROR =new ErrorCode(304,"参与活动的奖品级别信息异常") ;
    ErrorCode ACTIVITY_LIST_PARAM_EEOR = new ErrorCode(305,"获取活动列表参数异常");

    ErrorCode ACTIVITY_NOT_EXESIST_ERROR =new ErrorCode(306,"活动不存在") ;
    ErrorCode ACTIVITY_PRIZE_ERROR = new ErrorCode(307,"活动参与的奖品不存在");
    ErrorCode ACTIVITY_USER_ERROR =new ErrorCode(308,"活动参与人员不存在");
    ErrorCode ACTIVITY_DETAIL_ERROR =new ErrorCode(309,"活动详细信息获取失败") ;
    //************图片错误码400
    ErrorCode PICTURE_UPLOAD_ERROR =new ErrorCode(400,"图片上传失败") ;



    //************抽奖错误码
    ErrorCode DRAW_PRIZE_PARAM_EMPTY =new ErrorCode(500,"抽奖参数为空") ;

    ErrorCode ACTIVITY_STATUS_ERROR = new ErrorCode(501,"活动状态异常");
    ErrorCode ACTIVITY_PRIZE_STATUS_ERROR =new ErrorCode(502,"活动奖品状态异常") ;
    ErrorCode ACTIVITY_PRIZE_WINNER_ERROR =new ErrorCode(503,"获奖者与奖品数量异常") ;
    ErrorCode ACTIVITY_STATUS_COVERT_ERROR = new ErrorCode(504,"活动状态转换异常");
}
